<template>
    <div class='search'>
      <van-search  @click="onSearch" v-model="value" placeholder="请输入搜索关键词" />
    </div>
</template>

<script>
export default {
    components: {},
    data() {
       return {
        value: '',
      };
    },
    methods: {
        onSearch(){
          this.$router.push({
            name:'Search',
          })
        }
    },
    }
</script>
<style scoped>
    
</style>